package cn.com.woxitech.dev.common;

import cn.com.woxitech.dev.model.Organization;
import cn.com.woxitech.dev.model.gen.WmOrganization;

public class OrganizationUtils {
	public static Organization createOrganization(Integer num, WmOrganization wmOrganization) {
		Organization organization = new Organization();
		organization.setUuid(wmOrganization.getUuid());
		organization.setNum(num);
		organization.setDes(wmOrganization.getIntroduction());
		organization.setLogourl(wmOrganization.getLogourl());
		organization.setName(wmOrganization.getName());
		organization.setType(wmOrganization.getType());
		return organization;
	}
}
